// 店铺

import type R from '@/types/conduit/R'
import type ShopCategory from '@/types/entity/DishCategory'
import request from '@/utils/request'

export const list = (): Promise<R<ShopCategory[]>> =>
  request({
    url: `/shop/shop-category/list`,
    method: 'GET'
  })
